package com.reny.ll.git.base_logic.app_task

import com.alibaba.android.arouter.launcher.ARouter
import com.reny.ll.git.core.App
import com.reny.ll.git.core.taskdispatch.task.MainTask


class InitARouter : MainTask() {

    override fun needWait(): Boolean = true

    override fun run() {
        if (App.isDebug) {
            ARouter.openLog()
            ARouter.openDebug()
        }
        ARouter.init(App.instance)
    }

}